<div class="ng-loading-overlay"
     ng-class="{
       'ng-loading-visible': visible,
       'ng-loading-global': !isDirective,
       'ng-loading-directive': isDirective
     }">
  <div class="ng-loading-content">
    <div class="ng-loading-spinner"
         ng-class="'ng-loading-spinner-' + config.size"
         ng-style="{'border-top-color': config.color}">
    </div>
    <div class="ng-loading-text"
         ng-if="config.text"
         ng-style="{'color': config.color}">
      {{config.text}}
    </div>
  </div>
</div>
